package com.ruoyi.crm.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 服务回访单对象 service_revisit
 *
 * @author ruoyi
 * @date 2021-08-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ServiceRevisit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 回访单编号 */
    @Excel(name = "回访单编号")
    private String revisitNo;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String customerName;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String telName;

    /** 客户服务单 */
    @Excel(name = "客户服务单")
    private String serviceNo;

    /** 回访人 */
    @Excel(name = "回访人")
    private String revisitor;

    /** 满意度 */
    @Excel(name = "满意度")
    private String satisfaction;
    private String projectPlan;
    private String timelinessRate;
    private String resolutionRate;
    private String followerFirst;
    private String markInfo;
    private String enclosureInfo;
    private String comment;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setRevisitNo(String revisitNo)
    {
        this.revisitNo = revisitNo;
    }

    public String getRevisitNo()
    {
        return revisitNo;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setTelName(String telName)
    {
        this.telName = telName;
    }

    public String getTelName()
    {
        return telName;
    }
    public void setServiceNo(String serviceNo)
    {
        this.serviceNo = serviceNo;
    }

    public String getServiceNo()
    {
        return serviceNo;
    }
    public void setRevisitor(String revisitor)
    {
        this.revisitor = revisitor;
    }

    public String getRevisitor()
    {
        return revisitor;
    }
    public void setSatisfaction(String satisfaction)
    {
        this.satisfaction = satisfaction;
    }

    public String getSatisfaction()
    {
        return satisfaction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("revisitNo", getRevisitNo())
                .append("customerName", getCustomerName())
                .append("telName", getTelName())
                .append("serviceNo", getServiceNo())
                .append("revisitor", getRevisitor())
                .append("satisfaction", getSatisfaction())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}